<extend name="Layout/dialog" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">商户定位管理</block>
<block name="controller">商户定位信息</block>
<block name="action">新增商户定位信息</block>
<block name="desc"></block>
<block name="content">
<div class="box box-success">
	<div class="box-header with-border">
		<h3 class="box-title">新增商户定位信息</h3>
	</div>
	<form class="form-horizontal" action="{:U('save')}" method="post" rel-action="form" rel-success="reload()">
		<div class="box-body">
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>商户编号</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="store_code" placeholder="请输入商户编号"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>商户名称</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="store_name" placeholder="请输入商户名称"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>经度</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="longitude" placeholder="请输入商户定位经度"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>纬度</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="latitude" placeholder="请输入商户定位纬度"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">精确度</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="definition" placeholder="请输入精确距离，单位（米）"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">锁定</label>
				<div class="col-sm-10 radio">
					<label><input type="radio" name="lock" value="1">是</label>
					<label><input type="radio" name="lock" value="0" checked="checked">否</label>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">状态</label>
				<div class="col-sm-10 radio">
					<label><input type="radio" name="state" value="1" checked="checked">正常</label>
					<label><input type="radio" name="state" value="0">禁用</label>
				</div>
			</div>
		</div>
		<div class="box-footer">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">保存</button>
				<button type="button" class="btn btn-default" rel-action="dialog-close">关闭</button>
			</div>
		</div>
	</form>
</div>
</block>